package com.army.study.data;

import ohos.distributedschedule.interwork.DeviceInfo;

public class DeviceData {
    // 是否选择
    private boolean isChecked;
    // 设备信息
    private DeviceInfo deviceInfo;

    /**
     * 无参构造方法
     */
    public DeviceData() {
    }

    /**
     * 带参构造方法
     * @param isChecked
     * @param deviceInfo
     */
    public DeviceData(boolean isChecked, DeviceInfo deviceInfo) {
        this.isChecked = isChecked;
        this.deviceInfo = deviceInfo;
    }

    public boolean isChecked() {
        return isChecked;
    }

    public void setChecked(boolean checked) {
        isChecked = checked;
    }

    public DeviceInfo getDeviceInfo() {
        return deviceInfo;
    }

    public void setDeviceInfo(DeviceInfo deviceInfo) {
        this.deviceInfo = deviceInfo;
    }
}
